package cn.pojo;

import java.util.Date;

/**
 * @author
 * @description
 * @date 2021/8/29 10:40
 */
public class Bus extends Vehicle {
    public Bus() {
    }

    public Bus(String carType, String carNo, Date inTime, Date outTime, int carStatus, double totalTime) {
        super(carType, carNo, inTime, outTime, carStatus, totalTime);
    }

    public Bus(String carType, String carNo, Date inTime, int carStatus) {
        super(carType, carNo, inTime, carStatus);
    }

    @Override
    public double cale(double totalTime) {
        return 20;
    }
}
